package com.hello.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hello.entity.Comments;
import org.apache.ibatis.annotations.Select;

public interface CommentsMapper extends BaseMapper<Comments> {
    @Select("SELECT MAX(comment_order) FROM comments")
    Integer getMaxCommentOrder();
}
